package henu.innovation.entity;

public class Exam {
    private int id;
    private String name;
    private String starttime;//开始时间
    private String creator;//创建者(新加，在测试)
    private boolean autostart;//是否自动开始
    private String exampaper;//试卷
    private boolean started;//是否已经开始
    private boolean underway;//是否正在进行中(新加，在测试)
    private boolean finished;//是否已经完成
    private boolean archived;//是否已归档
    private boolean cleaned;//是否已清理

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public boolean isAutostart() {
        return autostart;
    }

    public void setAutostart(boolean autostart) {
        this.autostart = autostart;
    }

    public String getExampaper() {
        return exampaper;
    }

    public void setExampaper(String exampaper) {
        this.exampaper = exampaper;
    }

    public boolean isStarted() {
        return started;
    }

    public void setStarted(boolean started) {
        this.started = started;
    }

    public boolean isFinished() {
        return finished;
    }

    public void setFinished(boolean finished) {
        this.finished = finished;
    }

    public boolean isArchived() {
        return archived;
    }

    public void setArchived(boolean archived) {
        this.archived = archived;
    }

    public boolean isCleaned() {
        return cleaned;
    }

    public void setCleaned(boolean cleaned) {
        this.cleaned = cleaned;
    }

    public boolean isUnderway() {
        return underway;
    }

    public void setUnderway(boolean underway) {
        this.underway = underway;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    @Override
    public String toString() {
        return "Exam{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", starttime='" + starttime + '\'' +
                ", creator='" + creator + '\'' +
                ", autostart=" + autostart +
                ", exampaper='" + exampaper + '\'' +
                ", started=" + started +
                ", underway=" + underway +
                ", finished=" + finished +
                ", archived=" + archived +
                ", cleaned=" + cleaned +
                '}';
    }
}
